package com.wanxi.education.service;

import com.wanxi.education.model.vo.statistic.CertCategoriesVO;
import com.wanxi.education.model.vo.statistic.RankOfStudentPurchasedCourseVO;

import java.util.Map;
import java.util.Set;

/**
 * @Author: Kang
 * @Date: 2021/9/27 9:12
 * @Description:
 * @Version: 1.0
 */
public interface BStatisticService {

    /**
     * 证书大类的证书数量总量
     * @return
     */
    Set<CertCategoriesVO> numberOfCertCategories();

    /**
     * 机构学员购买课程总数排名前七
     * @param loginBId
     * @return
     */
    Set<RankOfStudentPurchasedCourseVO> rankOfStudentPurchasedCourse(Long loginBId);

    /**
     * 当前机构注册学员总数
     *
     * @param loginBId
     * @return
     */
    Map<String, Object> totalNumberOfEmployees(Long loginBId);

    /**
     * 当前机构总购课数量
     *
     * @param loginBId
     * @return
     */
    Map<String, Object> totalNumberOfCoursePurchased(Long loginBId);

}
